<!DOCTYPE html>
<html>
	<head>
		<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
		<link rel="stylesheet"  href="../css/own.css"/>
		<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
		<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div class="container">
				<div class="row clearfix">
			<div class="logo col-md-7 column">
				<h3>浙江工商大学软件工程系毕业设计提交系统</h3>
			</div>
			<div class="col-md-5 column">
				<ul class="nav nav-pills  navbar-right">
					<li >
					 	<a class="btn-danger" href="#">登出</a>
					</li>
				</ul>
			</div>
				</div>
				<hr />
				<div class="row clearfix">

		<div class="col-md-4 column">
			<div class="list-group">
				 <a href="teacher.html" class="list-group-item active">教师端</a>
				<div class="list-group-item">
					<a href="fabutimi.html" >发布选题</a>
				</div>
				<div class="list-group-item">
					<h4 class="list-group-item-heading">
						管理
					</h4>
					<p class="list-group-item-text">
						<a href="manage_student.html">查看学生信息</a>
					</p>
					<p class="list-group-item-text">
						<a href="kaiti_jiancha.html">检查开题报告</a>
					</p>
					<p class="list-group-item-text">
						<a href="zhongqi_jiancha.html">检查中期报告</a>
					</p>
					<p class="list-group-item-text">
						<a href="biyelunwen_jiancha.html">检查毕业论文</a>
					</p>
					<p class="list-group-item-text">
						<a href="code.html">检查代码</a>
					</p>
				</div>
					<div class="list-group-item">
					<h4 class="list-group-item-heading">
						答辩
					</h4>
					<p class="list-group-item-text">
						<a href="#">选择答辩分组</a>
					</p>
					<p class="list-group-item-text">
						<a href="#">发布答辩结果</a>
					</p>
					
				</div>
				<a href="#" class="list-group-item active"> <span class="badge">14</span> 帮助</a>
			</div>
		</div>
		<div class="col-md-8 column">
     <h2>毕业论文列表</h2>
    <div class="row">
        <div class="col-md-10 ">
            <table class="table table-bordered " id="jiancha_biye">
                <!--<thread>-->
                    <!--<th>编号</th>-->
                    <!--<th>学生姓名</th>-->
                    <!--<th>导师</th>-->
                    <!--<th>题目</th>-->
                    <!--<th>查看</th>-->
                <!--</thread>-->
                <!--<tbody>-->
                <!--<tr>-->
                    <!--<td>1</td>-->
                    <!--<td>XX</td>-->
                    <!--<td>XX</td>-->
                    <!--<td>XXX</td>-->
                    <!--<td><a href="#">链接</a></td>-->
                <!--</tr>-->
                <!--<tr>-->
                  <!--<td>2</td>-->
                    <!--<td>XX</td>-->
                    <!--<td>XX</td>-->
                    <!--<td>XXX</td>-->
                    <!--<td><a href="#">链接</a></td>-->
                <!--</tr>-->
            </table>
        </div>
    </div>
    
        </div>
    </div>
				<hr />
				<div class="row clearfix">
				<div class="col-md-12 column">
				<table width="990" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody><tr>
    <td height="100" align="center" bgcolor="#e4e4e4"><table width="950" border="0" cellspacing="0" cellpadding="0" style="margin-top:15px">
      <tbody><tr>
        <td width="817"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tbody><tr>
            <td width="27%" align="left"><img src="../img/111.gif" width="214" height="38" align="absbottom"></td>
            <td width="73%" align="left" style="padding-top:8px"><a href="http://www.miitbeian.gov.cn 

" target="_blank" style="color:#999">浙ICP备05073962号</a>　<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=33011802000512 

" style="color:#999">浙公网安备 33011802000512号</a></td>
          </tr>
          <tr>
            <td height="35" colspan="2" align="left" style="color:#888888">地址：浙江省杭州市下沙高教园区学正街18号　邮编：310018　电话：（86）571-28877777　传真：（86）571-28877222</td>
          </tr>
        </tbody></table></td>
        <td width="143" align="right" valign="bottom"><img src="../img/222.gif" width="139" height="104"></td>
      </tr>
    </tbody></table></td>
  </tr>
  <tr>
    <td height="19" bgcolor="#807e7f"></td>
  </tr>
</tbody></table>

				
				</div>
				</div>
		</div>
	</body>
</html>





    
</body>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script>
    $(document).ready(function(){
        $.ajax({
            url: '/lunwen',
            type: 'get',
            dataType: 'json',
            error: function (error) {
                console.log(error);
                alert(error);
            },
            success: function (data) {

                $("#jiancha_biye").html("");
                var tableStr = "<table>";

                tableStr = tableStr + "<thead><td>编号</td><td>学生姓名</td><td>导师</td><td>题目</td><td>查看</td></thead>";
                for (var i = 0; i < data.length; i++) {
                    tableStr = tableStr + "<tr><td>" + data[i].num + "</td>" + "<td>" + data[i].name + "</td>" + "<td>" + data[i].teacher + "</td>" + "<td>" + data[i].topic + "</td>" + "<td><a href='http://www.baidu.com'>链接</a></td></tr>";
                }
                tableStr = tableStr + "</table>";
                //将动态生成的table添加的事先隐藏的div中.
                $("#jiancha_biye").html(tableStr);
            },

        })})
</script>
</html>





